package cn.tedu;

public class dou8 {
    public static void main(String[] args) {
        new po();
        po o = new po(100);
        new po("张伤");
        pp q = new pp();
        q.pa();
        q.pa("李易峰");

    }

}
class po{
    {
        System.out.println("构造代码块");
    }
    public po(){

    }

    public po(int sex){
        System.out.println(sex);
    }
    public po(String name){

    }
    public po(int sex,String name){

    }
    public po(String name,int sex){

    }
}
class pp{
    public void pa(){
        int a  = 999;

        {
            int b = 888;
            System.out.println(b);
        }
        System.out.println(a);
    }
    public void pa(String g){
        System.out.println(g);
    }
}

